package com.sicheng.蓝桥.练习题;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author zsc
 * @version 1.0
 * @date 2022/1/20 11:07
 */
public class 大写 {
    public static void main(String[] args) {
//        Scanner scanner = new Scanner(System.in);
//        String context = scanner.nextLine();
//        System.out.println(context.toUpperCase());

        String ip="198.123.12.23";
        System.out.println(Long.parseLong("20"));
        String[] split = ip.split(",");
        System.out.println(split[0]);

        long currentTimeMillis = System.currentTimeMillis();
        System.out.println(currentTimeMillis);
        Date date = new Date(1649151670667L);
        SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
        System.out.println(format.format(date));
        System.out.println(date);


    }
}
